package com.nandasoft.njuerp.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Repository;

import com.nandasoft.njuerp.common.dao.BaseDao;
import com.nandasoft.njuerp.dao.DemoDao;
import com.nandasoft.njuerp.entity.DemoEntity;

@Repository("demoDao")
public class DemoDaoImpl extends BaseDao<DemoEntity>  implements DemoDao{
	private static Logger log = Logger.getLogger(DemoDaoImpl.class);

	@Override
	public List<Map<String, Object>> queryDemo(HashMap<String, Object> paramMap) {
		String sql = "select * from bdc_qlr t where t.qlrmc =:qlrmc";
		return queryForList(sql,paramMap);
	}
	
}
